package org.springframework;

import org.springframework.bean.User;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.ylp.Dog;

public class Main {
	public static void main(String[] args) {
		ApplicationContext applicationContext = new AnnotationConfigApplicationContext("org.springframework.ylp");

		System.out.println(applicationContext.getBean(Dog.class));
	}
}